#FROM java:8
#VOLUME /tmp
#ADD springboot_docker-0.0.1-SNAPSHOT.jar /test.jar
#ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/test.jar"]

FROM hub.c.163.com/library/java:latest
VOLUME /tmp
ADD target/springboot_docker-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]